<?php

namespace App\Models\Train\TrainSeat\Repositories\Interfaces;

use App\Models\Train\TrainSeat\TrainSeat;
use Illuminate\Support\Collection;

interface TrainSeatRepositoryInterface
{
    public function addTrainSeat(array $data): TrainSeat;

    public function findByTrainCodeAndSeatName(string $train_code, string $from_code, string $to_code, string $seat_name): ?TrainSeat;

    public function listByTrainCode(string $train_code, string $from_code, string $to_code): Collection;
}